package com.mavenq.fly.listener;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Setter
@Getter
public class PushEvent<T> extends ApplicationEvent {

    private static final long serialVersionUID = -4845784069892301122L;
    public T data;

    public PushEvent(Object source) {
        super(source);
    }

    public PushEvent(Object source, T t) {
        super(source);
        this.data = t;
    }
}
